﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SystemCenterSoa.DtoModel.FileManager
{

    [Table("FileUpLoad")]
    public  class FileUpLoadResult
    {
        [Key]
        public int file_iid { get; set; }
        /// <summary>
        /// 上传后文件路径
        /// </summary>
        public string FileNewPath { get; set; }
        /// <summary>
        /// 上传后文件名
        /// </summary>
        public string FileNewName { get; set; }
        /// <summary>
        /// 上传前文件名
        /// </summary>

        public string FileOldName { get; set; }
        /// <summary>
        /// 文件类型
        /// </summary>

        public string FileType { get; set; }

        public long FileSize { get; set; }

        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime UpLoadDate { get; set; } = DateTime.Now;



        /// <summary>
        /// 是否上传成功
        /// </summary>
        public bool IsUpload { get; set; }
        /// <summary>
        /// 返回消息
        /// </summary>

        public string Mess { get; set; }
    }
}
